<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
<title>Mobilebone.js API文档-Mobilebone.submit</title>
<link rel="stylesheet" href="../src/mobilebone.css">
<link rel="stylesheet" href="docs.css">
</head>

<body>
<aside></aside>
<div class="page out">
	<div class="content">
    	<h2>Mobilebone.submit(formElement)</h2>
        <p>让表单元素告别原生<code>submit</code>提交，走Mobilebone的<code>ajax</code>提交方法，并根据返回结果执行对应的过场效果。</p>
        <h3>参数</h3>
        <ul>
            <li><strong>formElement</strong> <code>&lt;form&gt;</code>表单元素。必须参数。</li>
        </ul>
        <h3>返回值</h3>
        <p>-</p>
        <h3>使用示例</h3>
        <pre>Mobilebone.submit(document.querySelector("form"));</pre>
    </div>
</div>

<script src="../src/mobilebone.js"></script>
<script>
Mobilebone.captureLink = false;
window.navKey = "submit";
</script>
<script src="nav.js"></script>
<script src="docs.js"></script>
</body>
</html>
